﻿using DHQGHN.DAL.DAO.DHQG;
using DHQGHN.DAL.Models.DHQG;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DHQGHN.DAL.BO.DHQG
{
    public class History_CommentBO : BaseBO
    {
        private History_CommentDAO _dao;
        public History_CommentBO()
        {
            _dao = new History_CommentDAO(Common.ConnectionUtil.DHQGHN_CONNECTION_STRING, DEFAULT_MAPPER_TYPE);
        }
        public int Insert(History_Comment data)
        {
            try
            {
                return _dao.Insert(data);
            }
            catch
            {
                throw;
            }
        }
        public List<History_Comment> Getallhstory(int namkh, int moc, int mocks, int flag, int dv, int ct)
        {
            try
            {
                return _dao.Getallhstory(namkh, moc, mocks, flag, dv, ct);
            }
            catch
            {
                throw;
            }
        }
    }

}
